package com.wd.live.tool.socket.wsmanager

import okhttp3.WebSocket
import okio.ByteString

/**
 * @Title:
 * @ClassName: com.wd.base.utils.socket.wsmanager.IWsManager.java
 * @author: lowrance
 * @date:  2022/9/21 18:02
 * @Description:    WebSocket的管理
 */
internal interface IWsManager {
    var webSocket: WebSocket?
    fun startConnect()
    fun stopConnect()
    val isWsConnected: Boolean
    var currentStatus: Int
    fun sendMessage(msg: String?): Boolean
    fun sendMessage(byteString: ByteString?): Boolean
}